from PyQt5.QtWidgets import QWidget
from UI.Ui_ChoosenFileItemWidget import Ui_ChoosenFileWidget

class ChoosenFileItemWidget(QWidget):
    def __init__(self, parent=None):
        super(QWidget, self).__init__(parent)
        self.ui = Ui_ChoosenFileWidget()
        self.ui.setupUi(self)
      
    def setFileName(self,text):
        self.ui.label.setText(text)
        print(text)